package game.metalmax.ui.common
{
	import fl.controls.Button;
	
	import showtime.framework.engine.GameFilters;
	import showtime.framework.manager.AssetManager;
	import showtime.framework.manager.StyleManager;

	public class Button001 extends Button
	{
		public function Button001()
		{
			setStyle("upSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_BUTTON_UP"));
			setStyle("downSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_BUTTON_DOWN"));
			setStyle("overSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_BUTTON_OVER"));

			setStyle("textFormat", StyleManager.getInstance().getStyleAsTextFormat("FONT_UI"));
			textField.filters = [GameFilters.BLACK_GLOW];
			focusEnabled = false;
			buttonMode = false;
			
			validateNow();

		}
	}
}